Fractal Approximate Nearest Neighbour Search in Log-Log Time
نویسندگان
چکیده
Nearest neighbour searches in the image plane are among the most frequent problems in a variety of computer vision and image processing tasks. They can be used to replace missing values in image filtering, or to group close objects in image segmentation, or to access neighbouring points of interest in feature extraction. In particular, we address two nearest neighbour problems: The nearest neighbour problem is usually stated independently of the application as returning the point p ∈ S,S = {(x1,y1), . . . ,(xn,yn)} that minimises the Euclidean distance ||p− q||2 to a query point q = (x,y). The simple solution of a linear scan comprises a comparison of q to all elements of S, which is too time-consuming for most applications, especially those with real-time requirements. If the nearest neighbour p ∈ S must be found for every coordinate q ∈ I of an image I = {(0,0),(0,1),(0,2), . . . ,(W,H)} of width W and height H, we obtain the all nearest neighbours problem. This problem occurs frequently in modern saliency based approaches, where only robustly detectable image regions are processed (for example in SIFT). In this paper, we introduce an approximate solution to solve these problems that is based on using a space filling curve. The central idea of the proposed approach is to map the image plane to one dimension using the Hilbert curve (Fig. 1). The nearest-neighbour problem is then solved efficiently in one dimension and mapped back to the 2D-plane.
منابع مشابه
Fast local searches and updates in bounded universes
Given a bounded universe {0, 1, . . . , U−1}, we show how to perform (successor) searches in O(log log ∆) expected time and updates in O(log log ∆) expected amortized time, where ∆ is the rank difference between the element being searched for and its successor in the structure. This unifies the results of traditional bounded universe structures (which support successor searches in O(log logU) t...
متن کاملRandomized approximate nearest neighbors algorithm.
We present a randomized algorithm for the approximate nearest neighbor problem in d-dimensional Euclidean space. Given N points {x(j)} in R(d), the algorithm attempts to find k nearest neighbors for each of x(j), where k is a user-specified integer parameter. The algorithm is iterative, and its running time requirements are proportional to T·N·(d·(log d) + k·(d + log k)·(log N)) + N·k(2)·(d + l...
متن کاملThe Area Code Tree for Approximate Nearest Neighbour Search in Dense Point Sets
In this paper, we present an evaluation of nearest neighbour searching using the Area Code tree. The Area Code tree is a trie-type structure that organizes area code representations of each point of interest (POI) in a data set. This data structure provides a fast method for locating an actual or approximate nearest neighbour POI for a query point. We first summarize the area code generation, i...
متن کاملSublogarithmic Searching without Multiplications
We show that a unit-cost RAM with word length w can maintain an ordered set of w-bit integers (or binary strings) under the operations search, insert, delete, nearest neighbour in O(p log n) worst-case time and range queries in O(p log n+size of output) worst-case time. The operations rely on AC 0 instructions only, thereby solving an open problem posed by Fredman and Willard. The data structur...
متن کاملOn Approximate Nearest Neighbors in Non-Euclidean Spaces
The nearest neighbor search (NNS) problem is the following: Given a set of n points P = fp 1 ; : : : ; p n g in some metric space X , preprocess P so as to eeciently answer queries which require nding a point in P closest to a query point q 2 X. The approximate nearest neighbor search (c-NNS) is a relaxation of NNS which allows to return any point within c times the distance to the nearest neig...
متن کامل